package bean;


import java.sql.Date;
import java.sql.Time;
import java.text.SimpleDateFormat;


/**
 * @author 栋
 * @date 2022/11/7
 * @description 黑名单信息类
 */
public class BlackList {
    private String user_id;//拉黑用户id
    private String introduce;//拉黑原因
    private Date black_date;//拉黑日期
    private Time black_time;//拉黑时间
    private String admin_id;//拉黑管理员id

    public BlackList() {
    }

    public BlackList(String user_id, String introduce, Date black_date, Time black_time, String admin_id) {
        this.user_id = user_id;
        this.introduce = introduce;
        this.black_date = black_date;
        this.black_time = black_time;
        this.admin_id = admin_id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Date getBlack_date() {
        return black_date;
    }

    public void setBlack_date(Date black_date) {
        this.black_date = black_date;
    }

    public Time getBlack_time() {
        return black_time;
    }

    public void setBlack_time(Time black_time) {
        this.black_time = black_time;
    }

    public String getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(String admin_id) {
        this.admin_id = admin_id;
    }

    @Override
    public String toString() {
        return "BlackList{" +
                "user_id='" + user_id + '\'' +
                ", introduce='" + introduce + '\'' +
                ", black_date=" + black_date +
                ", black_time=" + black_time +
                ", admin_id='" + admin_id + '\'' +
                '}';
    }
}
